<template>
  <div class="home">
    <div class="bannerBox">
      <img src="@/assets/img/banner.png" class="banner">
      <div class="header pc">
        <div class="logoBox">
          <img src="@/assets/img/logo.png" class="logo">
          <p class="name">聚力CRM</p>
        </div>
        <div class="nav">
          <a href="#">首页</a>
          <a href="#cont1">行业痛点</a>
          <a href="#cont2">产品介绍</a>
          <a href="#cont3">服务内容</a>
          <a href="#cont4">助力行业</a>
          <a href="#cont5" class="btn">立即体验</a>
        </div>
      </div>
      <div class="mobile mobile_header">
        <div class="logoBox">
          <img src="@/assets/img/logo.png" class="logo">
          <p class="name">聚力CRM</p>
        </div>
        <img src="@/assets/img/mobile_menu_icon.png" class="menu" @click="changeMenu" v-if="!menuStatus">
        <img src="@/assets/img/mobile_menu_close_icon.png" class="menu close" @click="changeMenu" v-else>
      </div>
      <ul class="menuList" v-if="menuStatus">
        <li><a href="#" @click="closeMenu">首页</a></li>
        <li><a href="#cont1" @click="closeMenu">行业痛点</a></li>
        <li><a href="#cont2" @click="closeMenu">产品介绍</a></li>
        <li><a href="#cont3" @click="closeMenu">服务内容</a></li>
        <li><a href="#cont4" @click="closeMenu">助力行业</a></li>
      </ul>
    </div>

    <div class="painSpot" id="cont1">
      <div class="titleBox">
        <img src="@/assets/img/title_pic_l.png" class="lIcon">
        <h2>销售行业痛点</h2>
        <img src="@/assets/img/title_pic_r.png" class="rIcon">
      </div>
      <div class="spotBox">
        <div class="spotCont">
          <img src="@/assets/img/icon1.png">
          <p>销售流程不明确</p>
        </div>
        <div class="spotCont">
          <img src="@/assets/img/icon2.png">
          <p>商机跟进不及时</p>
        </div>
        <div class="spotCont">
          <img src="@/assets/img/icon3.png">
          <p>销售过程不可监控</p>
        </div>
        <div class="spotCont">
          <img src="@/assets/img/icon4.png">
          <p>销售决策不明显</p>
        </div>
        <div class="spotCont">
          <img src="@/assets/img/icon5.png">
          <p>客户管理不受控</p>
        </div>
        <div class="spotCont">
          <img src="@/assets/img/icon6.png">
          <p>销售业绩一团糟</p>
        </div>
      </div>
    </div>

    <div class="advantage" id="cont2">
      <div class="titleBox">
        <img src="@/assets/img/title_pic_l.png" class="lIcon">
        <h2>聚力CRM助您高效工作</h2>
        <img src="@/assets/img/title_pic_r.png" class="rIcon">
      </div>
      <div class="cont">
        <img src="@/assets/img/cont_pic1.png" class="pic mobile">
        <div class="ins alignR">
          <h3>产品管理集中化</h3>
          <h4>形成统一产品库</h4>
          <p class="ins_border"></p>
          <p class="main">“项目-产品-定价-启用”沉淀产品信息统一管理产品定价，形成产品库。</p>
        </div>
        <img src="@/assets/img/cont_pic1.png" class="pic pc">
      </div>
      <div class="cont">
        <img src="@/assets/img/cont_pic2.png" class="pic">
        <div class="ins alignL">
          <h3>销售过程自动化</h3>
          <h4>规范销售流程，提升销售效率</h4>
          <p class="ins_border"></p>
          <p class="main">“任务-线索-客户-商机-订单-合同-收款-报表”定义销售流程，提升销售管理能力和下单效率，实现销售流程闭环管理。</p>
        </div>
      </div>
      <div class="cont">
        <img src="@/assets/img/cont_pic3.png" class="pic mobile">
        <div class="ins alignR">
          <h3>客户视图精细化</h3>
          <h4>提高客户管理，提升客户服务</h4>
          <p class="ins_border"></p>
          <p class="main">自定义客户标签和客户级别，形成客户唯一视图，提高用户服务体验。</p>
        </div>
        <img src="@/assets/img/cont_pic3.png" class="pic pc">
      </div>
      <div class="cont">
        <img src="@/assets/img/cont_pic4.png" class="pic">
        <div class="ins alignL">
          <h3>销售数据可视化</h3>
          <h4>突出业绩展示，提示产品决策力</h4>
          <p class="ins_border"></p>
          <p class="main">多维度统计销售数据，提升销售人员动力，助力企业进行产品决策。</p>
        </div>
      </div>
    </div>

    <div class="serviceBox" id="cont3">
      <div class="titleBox">
        <img src="@/assets/img/title_pic_l.png" class="lIcon">
        <h2>服务内容</h2>
        <img src="@/assets/img/title_pic_r.png" class="rIcon">
      </div>
      <div class="service pc">
        <div class="cont">
          <h3>定制化服务</h3>
          <img src="@/assets/img/cont_icon1.png">
          <p>除标准模块外，可单独为您定制专属CRM模块，完全符合您的业务需求，并支持单独部署使用 。</p>
        </div>
        <div class="cont">
          <h3>行业业务咨询</h3>
          <img src="@/assets/img/cont_icon2.png">
          <p>提供售前、售中、售后的产品答疑，帮您尽快实现数字化管理 。</p>
        </div>
        <div class="cont">
          <h3>VIP管家</h3>
          <img src="@/assets/img/cont_icon3.png">
          <p>配备专业售后服务人员，提供7*12h服务，保证系统稳定运行 。</p>
        </div>
      </div>
      <div class="service mobile">
        <div class="cont">
          <img src="@/assets/img/cont_icon1.png">
          <div class="right">
            <h3>定制化服务</h3>
            <p>除标准模块外，可单独为您定制专属CRM模块，完全符合您的业务需求，并支持单独部署使用 。</p>
          </div>
        </div>
        <div class="cont">
          <img src="@/assets/img/cont_icon2.png">
          <div class="right">
            <h3>行业业务咨询</h3>
            <p>提供售前、售中、售后的产品答疑，帮您尽快实现数字化管理 。</p>
          </div>
        </div>
        <div class="cont">
          <img src="@/assets/img/cont_icon3.png">
          <div class="right">
            <h3>VIP管家</h3>
            <p>配备专业售后服务人员，提供7*12h服务，保证系统稳定运行 。</p>
          </div>
        </div>
      </div>
    </div>

    <div class="helpBox" id="cont4">
      <h2>行业助力</h2>
      <div class="title_border"></div>
      <div class="helpCont">
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon1.png">
          </div>
          <p class="main">贸易物流</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon2.png">
          </div>
          <p class="main">地产销售</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon3.png">
          </div>
          <p class="main">广告会展</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon4.png">
          </div>
          <p class="main">大宗贸易</p>
        </div>
      </div>
      <div class="helpCont">
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon5.png">
          </div>
          <p class="main">软件服务</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon6.png">
          </div>
          <p class="main">教育培训</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon7.png">
          </div>
          <p class="main">智能制造</p>
        </div>
        <div class="cont">
          <div class="iconBg">
            <img src="@/assets/img/industry_icon8.png">
          </div>
          <p class="main">咨询服务</p>
        </div>
      </div>
    </div>

    <div class="joinBox" id="cont5">
      <h2>立即体验</h2>
      <div class="title_border"></div>
      <div class="cont">
        <span class="label">姓 名：</span>
        <input v-model="name" placeholder="我们如何称呼您？">
      </div>
      <div class="cont">
        <span class="label">手机号：</span>
        <input v-model="mobile" placeholder="我们如何联系您？">
      </div>
      <div class="submit" @click="submit">立即体验</div>
    </div>

    <a href="https://beian.miit.gov.cn" target='_blank'>
      <div class="footer">Copyright © 2021-2024 All Rights Reserved 山西聚力软通科技有限公司 版权所有 晋ICP备2022001704号-3</div>
    </a>
  </div>
</template>
<script>
import axios from 'axios';
export default {
  name: "home",
  data() {
    return {
      name: '',
      mobile: '',
      menuStatus: false
    }
  },
  methods: {
    submit() {
      axios.post("https://api.julisoft.cn/index.php", {
        "Name": this.name,
        "MobileNumber": this.mobile
      }).then(res => {
        console.log(res)
        alert('提交成功')
        this.name = ''
        this.mobile = ''
      })
    },
    changeMenu() {
      this.menuStatus = !this.menuStatus
    },
    closeMenu() {
      this.menuStatus = false
    }
  },
  created() {
  },
  mounted() {
  }
}
</script>

<style lang="scss">
.home {
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: url(../../assets/img/Subtract.png) no-repeat center bottom;

  .bannerBox {
    position: relative;

    .banner {
      display: block;
      width: 100%;
      cursor: pointer;
    }

    .mobile_header.mobile {
      display: none !important;
    }

    .header.pc {
      display: flex !important;
    }

    .header {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 78px;
      display: flex;
      justify-content: space-between;
      padding-left: 206px;
      padding-right: 176px;
      box-sizing: border-box;
      align-items: center;

      .logoBox {
        display: flex;
        align-items: center;

        .logo {
          width: 64px;
        }

        .name {
          font-size: 20px;
          font-weight: bold;
          color: #ffffff;
        }
      }

      .nav {
        display: flex;
        align-items: center;

        a {
          margin-left: 80px;
          font-size: 20px;
          font-weight: 500;
          color: #ffffff;
          cursor: pointer;
        }

        .btn {
          margin-left: 48px;
          width: 188px;
          height: 53px;
          background: #ff7a00;
          border-radius: 68px;
          font-size: 20px;
          font-weight: 500;
          color: #ffffff;
          line-height: 53px;
          text-align: center;
        }
      }
    }
  }

  .titleBox {
    display: flex;
    align-items: center;
    justify-content: center;

    .lIcon {
      position: relative;
      left: 17px;
    }

    .rIcon {
      position: relative;
      right: 17px;
    }

    h2 {
      position: relative;
      z-index: 10;
      font-size: 38px;
      font-weight: 800;
      color: #172361;
    }
  }

  .painSpot {
    background: #F3F6FA;
    padding: 48px 238px 80px;

    .spotBox {
      display: flex;
      margin-top: 60px;
      justify-content: space-between;

      .spotCont {
        text-align: center;

        img {
          display: block;
          width: 78px;
          margin: 0 auto;
        }

        p {
          font-size: 22px;
          font-weight: 500;
          color: #172361;
          margin-top: 12px;
        }
      }
    }
  }

  .advantage {
    padding: 87px 160px 0;

    .cont {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 147px;

      .pic {
        display: block;
        width: 736px;
        height: 438px;
      }

      .ins {
        width: 780px;

        h3 {
          font-size: 34px;
          font-weight: bold;
          color: #172361;
          line-height: 40px;
        }

        h4 {
          font-size: 30px;
          font-weight: 500;
          color: #000000;
          margin-top: 13px;
          line-height: 35px;
        }

        .ins_border {
          width: 300px;
          height: 4px;
          background: linear-gradient(90deg, #FFFFFF 0%, #3170F9 100%);
          opacity: 1;
          margin-top: 14px;
        }

        .main {
          font-size: 24px;
          font-weight: 400;
          color: #000000;
          line-height: 53px;
          margin-top: 19px;
        }
      }

      .alignR {
        text-align: right;

        .ins_border {
          float: right;
        }

        .main {
          margin-top: 37px;
        }
      }

      .alignL {
        .ins_border {
          background: linear-gradient(90deg, #3170F9 0%, #EAF3FF 100%);
        }

      }
    }
  }

  .serviceBox {
    padding: 194px 160px 0;

    .service.pc {
      display: flex !important;
    }

    .service {
      display: flex;
      justify-content: space-between;
      margin-top: 90px;

      .cont {
        width: 515px;
        height: 453px;
        background: linear-gradient(176deg, #FBFCFF 0%, #D4E4FF 100%);
        box-shadow: 0px 10px 10px 0px rgba(0, 78, 150, 0.05);
        border-radius: 12px 12px 12px 12px;
        opacity: 1;
        border: 1px solid #EEEEEE;
        overflow: hidden;

        h3 {
          font-size: 36px;
          font-weight: bold;
          color: #172361;
          line-height: 42px;
          margin: 36px 0;
          text-align: center;
        }

        img {
          display: block;
          width: 130px;
          margin: 0 auto;
        }

        p {
          margin: 42px 15px 0;
          font-size: 23px;
          font-weight: 500;
          color: #000000;
          line-height: 51px;
        }
      }
    }
  }

  .helpBox {
    h2 {
      font-size: 38px;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 45px;
      margin-top: 90px;
      text-align: center;
    }

    .title_border {
      background: linear-gradient(90deg, #2F79FF 0%, #FFFFFF 50%, #2B75FF 100%);
      height: 2px;
      width: 800px;
      margin: 10px auto 0;
    }

    .helpCont {
      display: flex;
      padding: 0 380px;
      justify-content: space-between;

      .cont {
        margin-top: 80px;

        .iconBg {
          width: 117px;
          height: 117px;
          background: linear-gradient(176deg, #FBFCFF 0%, #D4E4FF 100%);
          box-shadow: 0px 10px 10px 0px rgba(0, 78, 150, 0.25);
          opacity: 1;
          border: 1px solid #EEEEEE;
          display: flex;
          justify-content: center;
          align-items: center;
          border-radius: 50%;

          img {
            display: block;
            width: 62px;
            height: 62px;
          }
        }

        .main {
          font-size: 26px;
          font-weight: 500;
          color: #FFFFFF;
          line-height: 30px;
          margin-top: 20px;
        }
      }
    }
  }

  .joinBox {
    margin: 100px auto;
    width: 1105px;
    height: 512px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;

    h2 {
      font-size: 38px;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 45px;
      text-align: center;
      margin-top: 60px;
    }

    .title_border {
      width: 610px;
      height: 2px;
      background: linear-gradient(90deg, #4083FE 0%, #FFFFFF 50%, #3879FF 100%);
      opacity: 1;
      margin: 10px auto 80px;
    }

    .cont {
      margin-bottom: 40px;

      .label {
        font-size: 26px;
        font-weight: 500;
        color: #FFFFFF;
        line-height: 30px;
        width: 110px;
        margin-right: 20px;
        text-align: right;
        display: inline-block;
        margin-left: 300px;
      }

      input {
        width: 334px;
        height: 52px;
        background: #1556DC;
        border-radius: 6px;
        opacity: 1;
        border: none;
        padding-left: 20px;
        font-size: 24px;
        font-weight: 400;
        color: #FFFFFF;
      }
    }

    .submit {
      width: 210px;
      height: 60px;
      background: #FF7A00;
      border-radius: 68px 68px 68px 68px;
      opacity: 1;
      margin: 0 auto;
      line-height: 60px;
      text-align: center;
      font-size: 26px;
      font-weight: bold;
      color: #FFFFFF;
      cursor: pointer;
    }
  }

  .footer {
    font-size: 25px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 29px;
    text-align: center;
    margin-bottom: 55px;
  }

  .mobile {
    display: none !important;
  }

  .pc {
    display: block !important;
  }
}

@media screen and (max-width: 1000px) {

  .home {
    max-width: 100%;
    background: url(../../assets/img/Subtract.png) no-repeat center bottom;
    background-size: 100% 350vw;

    .bannerBox {
      position: relative;
      padding-top: 12.8vw;

      .header.pc {
        display: none !important;
      }

      .mobile_header.mobile {
        display: flex !important;
      }

      .menuList {
        position: absolute;
        top: 12.8vw;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 11;

        li {
          height: 11.2vw;
          line-height: 11.2vw;
          padding-left: 5vw;
          border-bottom: 1px solid #F1F2F5;

          a {
            font-size: 3.7vw;
            color: #000;
            display: block;
            width: 100%;
            line-height: 11.2vw;
          }
        }
      }

      .mobile_header {
        height: 12.8vw;
        background: #fff;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        .logoBox {
          display: flex;
          align-items: center;

          .logo {
            width: 10vw;
            margin-left: 4.2vw;
          }

          .name {
            font-size: 3.2vw;
            font-weight: bold;
            color: #414960;
          }
        }

        .menu {
          width: 12.8vw;
          margin-right: 1vw;
        }

        .close {
          width: 6.4vw;
          margin-right: 4.2vw;
        }
      }
    }

    .titleBox {

      .lIcon {
        left: 2.4vw;
        width: 5.6vw;
      }

      .rIcon {
        right: 2.4vw;
        width: 5.6vw;
      }

      h2 {
        font-size: 5.3vw;
      }
    }

    .painSpot {
      padding: 4.3vw 4.3vw 8vw;

      .spotBox {
        margin-top: 4.3vw;
        flex-wrap: wrap;

        .spotCont {
          width: 28.3vw;
          height: 28.3vw;
          background: #fff;
          margin-bottom: 3.2vw;
          border-radius: 4px;

          img {
            width: 13.33vw;
            margin: 3.7vw auto 1.9vw;
          }

          p {
            font-size: 3.2vw;
          }
        }
      }
    }

    .advantage {
      padding: 4.3vw;
      background: #fff;

      .cont {
        margin-top: 5.6vw;
        display: block;

        .pic {
          display: block;
          width: 100%;
          height: auto;
        }

        .ins {
          width: 100%;

          h3 {
            font-size: 3.7vw;
            line-height: 4.3vw;
          }

          h4 {
            font-size: 3.2vw;
            margin-top: 1.3vw;
            line-height: 3.7vw;
          }

          .ins_border {
            width: 64.5vw;
            height: 4px;
            margin-top: 1.3vw;
          }

          .main {
            font-size: 2.7vw;
            line-height: 5.9vw;
            margin-top: 2.1vw;
            padding-right: 30%;
          }
        }

        .alignR {
          text-align: right;

          .ins_border {
            float: right;
          }

          .main {
            margin-top: 2.1vw;
            padding-left: 30%;
            padding-right: 0;
          }
        }

        .alignL {
          .ins_border {
            background: linear-gradient(90deg, #3170F9 0%, #EAF3FF 100%);
          }

        }
      }
    }

    .serviceBox {
      padding: 13.6vw 4.3vw 0;

      .service.pc {
        display: none !important;
      }

      .service {
        margin-top: 4.3vw;
        display: block;

        .cont {
          width: 100%;
          height: auto;
          background: #ffffff;
          box-shadow: none;
          border-radius: 4px;
          opacity: 1;
          border: none;
          overflow: hidden;
          padding: 4.3vw;
          box-sizing: border-box;
          display: flex;
          justify-content: space-between;
          align-items: center;
          margin-bottom: 4.3vw;

          h3 {
            font-size: 3.7vw;
            line-height: 4.3vw;
            margin: 0 0 2.1vw 0;
            text-align: left;
          }

          img {
            display: block;
            width: 13.3vw;
            height: 13.3vw;
            margin: 0 auto;
          }

          p {
            margin: 0;
            font-size: 3.2vw;
            color: #61687C;
            line-height: 3.7vw;
          }
        }
      }
    }

    .helpBox {
      h2 {
        font-size: 5.3vw;
        line-height: 6.1vw;
        margin-top: 0;
      }

      .title_border {
        background: linear-gradient(90deg, #2F79FF 0%, #FFFFFF 50%, #2B75FF 100%);
        height: 1px;
        width: 100%;
        margin: 1.6vw auto 0;
      }

      .helpCont {
        padding: 0 4.3vw;

        .cont {
          margin-top: 4.3vw;

          .iconBg {
            width: 10.13vw;
            height: 10.13vw;
            margin: 0 auto;

            img {
              width: 5.6vw;
              height: 5.6vw;
            }
          }

          .main {
            font-size: 2.7vw;
            line-height: 3.2vw;
            margin-top: 2.1vw;
          }
        }
      }
    }

    .joinBox {
      margin: 8.5vw auto;
      width: 91.5vw;
      height: 62vw;
      border-radius: 6px;

      h2 {
        font-size: 3.7vw;
        line-height: 4.3vw;
        margin-top: 3.7vw;
      }

      .title_border {
        width: 55.2vw;
        height: 1px;
        margin: 1.6vw auto 3.2vw;
      }

      .cont {
        margin-bottom: 4.3vw;

        .label {
          font-size: 2.7vw;
          line-height: 3.2vw;
          width: 13vw;
          margin-right: 3.2vw;
          margin-left: 21.1vw;
        }

        input {
          width: 35.5vw;
          height: 5.6vw;
          border-radius: 2px;
          padding-left: 2.4vw;
          font-size: 2.7vw;
        }
      }

      .submit {
        width: 22.13vw;
        height: 6.4vw;
        border-radius: 3.2vw;
        line-height: 6.4vw;
        font-size: 3.2vw;
      }
    }

    .footer {
      font-size: 2.7vw;
      font-weight: 500;
      color: #FFFFFF;
      margin: 0 3.8vw;
      text-align: center;
      line-height: 5vw;
      margin-bottom: 5.6vw;
    }


    .mobile {
      display: block !important;
    }

    .pc {
      display: none !important;
    }
  }
}</style>